import request from '@/utils/request';

/**
 * 上传文件
 * @param params
 * @returns {Promise<void>}
 */
export async function uploadFiles(params) {
  return request('/b/filetool/upload', {
    method: 'post',
    // processData: false,
    data: params,
    headers: {'Content-Type': 'multipart/form-data'},
  });
}


export async function queryAuditPageList(params) {
  return request('/b/fileapply/queryAuditPageList', {
    method: 'POST',
    data: params,
  });
}
